package com.wjy.game;

import lombok.Data;
import java.awt.*;

/**
 * 消息服务器界面
 *
 * @author Administrator
 */
@Data
public class MessageBoard extends Panel {

    private TextArea messageBoard = new TextArea();
    private Label statusLabel = new Label("当前连接数:");

    public MessageBoard() {
        setLayout(null);
        setBounds(0, 0, 300, 330);
        statusLabel.setBounds(7, 25, 150, 40);
        messageBoard.setBounds(7, 60, 292, 256);
        add(messageBoard);
        add(statusLabel);

    }
}